{"ast":null,"code":"export const convertCurrentTime = number => {\n  const min = Math.floor(number / 60);\n  const secs = Number((number % 60).toFixed());\n  return `${min < 10 ? \"0\" : \"\"}${min}:${secs < 10 ? \"0\" : \"\"}${secs}`;\n};\nexport default convertCurrentTime;","map":{"version":3,"names":["convertCurrentTime","number","min","Math","floor","secs","Number","toFixed"],"sources":["/data/messenger.client/src/utils/helpers/convertCurrentTime.ts"],"sourcesContent":["export const convertCurrentTime = (number: number) => {\n    const min = Math.floor(number / 60);\n    const secs = Number((number % 60).toFixed());\n\n    return `${min < 10 ? \"0\" : \"\"}${min}:${secs < 10 ? \"0\" : \"\"}${secs}`;\n};\n\nexport default convertCurrentTime;"],"mappings":"AAAA,OAAO,MAAMA,kBAAkB,GAAIC,MAAc,IAAK;EAClD,MAAMC,GAAG,GAAGC,IAAI,CAACC,KAAK,CAACH,MAAM,GAAG,EAAE,CAAC;EACnC,MAAMI,IAAI,GAAGC,MAAM,CAAC,CAACL,MAAM,GAAG,EAAE,EAAEM,OAAO,EAAE,CAAC;EAE5C,OAAQ,GAAEL,GAAG,GAAG,EAAE,GAAG,GAAG,GAAG,EAAG,GAAEA,GAAI,IAAGG,IAAI,GAAG,EAAE,GAAG,GAAG,GAAG,EAAG,GAAEA,IAAK,EAAC;AACxE,CAAC;AAED,eAAeL,kBAAkB"},"metadata":{},"sourceType":"module"}